Curve Routines

void curvebasis
(short id)
Set the basis matrix for a curve to the matrix referenced by id. The matrix and it's id are tied together with a call to defbasis.

void curveprecision
(short nsegs)
Define the number of line segments used to draw a curve.

void rcrv
(Coord geom[4][4])
Draw a rational curve.

void rcrvn
(long n,Coord geom[][4])
Draw n - 3 rational curve segments. Note: n must be at least 4.

void crv
(geom[4][3])
Draw a curve.

void crvn
(long n,Coord geom[][3])
Draw n - 3 curve segments. Note: n must be at least 4.

void curveit
(short n)
Draw a curve segment by iterating the top matrix in the matrix stack as a forward difference matrix. This performs n iterations.